package com.snacksmall.dto;

import org.apache.ibatis.type.Alias;

import com.snacksmall.model.Goods;
@Alias("goodsDto")
public class GoodsDto {
	private String goodsName;
	private String goodsBrand;
	private String categoryName;
	private int page;
	private int limit;
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsBrand() {
		return goodsBrand;
	}
	public void setGoodsBrand(String goodsBrand) {
		this.goodsBrand = goodsBrand;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public int getPage() {
		return (page-1)*limit;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getLimit() {
		return limit;
	}
	public void setLimit(int limit) {
		this.limit = limit;
	}
	
}
